[FAILED]

Результат функционального тестирования

1 из 50 тестов завершилось с ошибкой.

[FAILED]  status

  1. http://localhost:5000/api/service/status
    Ожидание Реальность
    1
    {
    {
    1
    2
      "forum": 165,
      "forum": 165,
    2
    3
      "post": 2843,
      "post": 2843,
    3
    4
      "thread": 223,
      "thread": 223,
    4
    5
      "user": 1
      "user": 0
    5
    6
    }
    }
    6
    Запрос
    GET http://localhost:5000/api/service/status HTTP/1.1
    Accept: application/json
    
    
    Ответ
    HTTP/1.1 200 
    Content-Type: application/json;charset=UTF-8
    Date: Tue, 17 Apr 2018 20:11:08 GMT
    
    
    {
      "User": 493,
      "forum": 165,
      "post": 2843,
      "thread": 223
    }
    Ожидался ответ вида
    HTTP/1.1 200 OK
    Content-Length: 64
    Content-Type: application/json
    
    
    {
      "forum": 165,
      "post": 2843,
      "thread": 223,
      "user": 1
    }